package com.bootdo.app.common.utils;

import java.util.concurrent.ThreadLocalRandom;

/**
  * @auther: Along
  * @description: 短信验证码生成工具类
  */
public class SMSCodeUtil {
    /**
     * 获取验证码
     * @return
     */
    public static int getCode(){
        return ThreadLocalRandom.current().nextInt(899999)+100000;
    }
}
